import { getAction, deleteAction, putAction, postAction, httpAction } from '@/api/manage'
//创建授权账户
export const getAthAccountSave =
  (data) =>
    postAction(
      '/businessAccount/authAccountSave',
      data
    )
//获取渠道法人信息
export const getChannelInfoLegal =
  (data) =>
    getAction(
      '/qsb/channel/info/getChannelLegal'+'?channelId='+data
    )

//勤税宝授权账户变更 5停用；3重新授权；7标记失效；-15删除授权账户
export const getUpdateAuthAccountStatus =
  (data) =>
    getAction(
      '/businessAccount/updateAuthAccountStatus',
      data
    )

//授权账户详情
export const getAuthAccountDetail =
  (data) =>
    getAction(
      '/businessAccount/authAccountDetail',
      data
    )

